<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>判断语句-if选择结构</title>
</head>
<body>
    <script>

        //输入成绩，如果成绩大于80分，奖励mp4
        var score = parseInt(prompt('请输入成绩'));
        if(score>80){
            console.log('奖励mp4');
        }
        console.log('结束');
        
    </script>








</body>
</html>